<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<MvcEngineModelList<Module>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title><%= Model.Localize("ModulePageTitle")%></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="pageActions">
    </div>
    <h1>
        <%= Model.Localize("ModulePageTitle")%>
    </h1>
    <table>
        <%foreach (var item in ViewData.Model.List)
          {
        %>
        <tr>
            <td>
                <%=item.Name%>
            </td>
            <td>
                <%= Html.UrlActionLink(Model.Localize("UninstallLink"), Url.UnInstallModule(item.Id))%>
            </td>
        </tr>
        <%
            }
        %>
    </table>
    <%= Html.UrlActionLink(Model.Localize("InstallLink"), Url.NewModule())%>
</asp:Content>
